<div id="button1"></div>
<div id="popupContainer">
    <div data-options="dxTemplate:{ name: 'content' }">
        <div id="button2"></div>
        <p>The popup contents.</p>
    </div>
</div>